/*
* Copyright © 2018 Union Mobile Financial Technology Co.Ltd
* All Rights Reserved
* @Description: TODO(功能描述)
* @author lile 
* @date 2018年8月8日 下午4:47:40
*
*/ 
package com.umpay.dto.merBusi.req.payment;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
***********************************************************
* @ClassName: PaymentCodePayBusiReq
* @Description: TODO(功能描述)
* @author lile
* @date 2018年8月8日 下午4:47:40
* @version 1.0 
*
* Modification History:
* Date         Author          Version            Description
*---------------------------------------------------------*
* 2018年8月8日     lile           v1.0.0               修改原因
************************************************************
*/
public class PaymentCodePayBusiReq extends CommonBusiReq {
	
	@Pattern
	@NotEmpty
	private String merId;
	
	@Pattern
	@NotEmpty
	private String bProductId;
	
	@Pattern
	@NotEmpty
	private String pProductId;
	
	@Pattern
	@NotEmpty
	private String notifyUrl;
	
	@Pattern
	private String retUrl;
	
	@Pattern
	@NotEmpty
	private String merTrace;
	
	@Pattern
	@NotEmpty
	private String tradeNo;
	
	@Pattern
	@NotEmpty
	private String payType;
	
	@Pattern
	@NotEmpty
	private String authCode;
	
	@Pattern
	@NotEmpty
	private String amount;
	
	@Pattern
	private String subject;
	
	@Pattern
	private String remark;
	
	@Pattern
	private String goodsId;
	
	@Pattern
	private String goodsInf;
	
	@Pattern
	private String storeId;
	
	@Pattern
	private String operatorId;
	
	@Pattern
	private String discountableAmount;
	
	@Pattern
	private String undiscountableAmount;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getpProductId() {
		return pProductId;
	}

	public void setpProductId(String pProductId) {
		this.pProductId = pProductId;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getRetUrl() {
		return retUrl;
	}

	public void setRetUrl(String retUrl) {
		this.retUrl = retUrl;
	}

	public String getMerTrace() {
		return merTrace;
	}

	public void setMerTrace(String merTrace) {
		this.merTrace = merTrace;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsInf() {
		return goodsInf;
	}

	public void setGoodsInf(String goodsInf) {
		this.goodsInf = goodsInf;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getDiscountableAmount() {
		return discountableAmount;
	}

	public void setDiscountableAmount(String discountableAmount) {
		this.discountableAmount = discountableAmount;
	}

	public String getUndiscountableAmount() {
		return undiscountableAmount;
	}

	public void setUndiscountableAmount(String undiscountableAmount) {
		this.undiscountableAmount = undiscountableAmount;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("PaymentCodePayBusiReq [merId=");
		builder.append(merId);
		builder.append(", bProductId=");
		builder.append(bProductId);
		builder.append(", pProductId=");
		builder.append(pProductId);
		builder.append(", notifyUrl=");
		builder.append(notifyUrl);
		builder.append(", retUrl=");
		builder.append(retUrl);
		builder.append(", merTrace=");
		builder.append(merTrace);
		builder.append(", tradeNo=");
		builder.append(tradeNo);
		builder.append(", payType=");
		builder.append(payType);
		builder.append(", authCode=");
		builder.append(authCode);
		builder.append(", amount=");
		builder.append(amount);
		builder.append(", subject=");
		builder.append(subject);
		builder.append(", remark=");
		builder.append(remark);
		builder.append(", goodsId=");
		builder.append(goodsId);
		builder.append(", goodsInf=");
		builder.append(goodsInf);
		builder.append(", storeId=");
		builder.append(storeId);
		builder.append(", operatorId=");
		builder.append(operatorId);
		builder.append(", discounttableAmount=");
		builder.append(discountableAmount);
		builder.append(", undiscountableAmount=");
		builder.append(undiscountableAmount);
		builder.append("]");
		return builder.toString();
	}

	
	
}
